CREATE PROCEDURE [dbo].[comments_update]
    @commentId int,
    @description nvarchar(1000),
    @dateOfPublish datetime,
    @userId int,
    @responseId int
AS
UPDATE [dbo].[Comments] SET 	[dbo].[Comments].[Description] = @description,
	[dbo].[Comments].[DateOfPublish] = @dateOfPublish,
	[dbo].[Comments].[UserId] = @userId,
	[dbo].[Comments].[ResponseId] = @responseId
WHERE
    [dbo].[Comments].[CommentId]=@commentId
SELECT
    [CommentId],
    [Description],
    [DateOfPublish],
    [UserId],
    [ResponseId]
FROM [dbo].[Comments] 
WHERE
    Comments.[CommentId]=@commentId
RETURN 0
